<template>
  <ul class="desk-nav-bar">
    <li>
      <a
        :href="`${$resourcePrefix}/setting/cost/serviceItem`"
        :class="current === 'serviceItem' && 'active'"
      >
        <i class="iconfont icon-fenlei"></i>
        {{$t('servicePrice.setting.navTitle')}}
      </a>
    </li>
  </ul>
</template>

<script>
export default {
  name: 'service-item-nav-bar',
  props: {
    current: String,
  },
};
</script>

<style lang="scss" scoped>
ul,
.desk-nav-bar {
  display: none;
  width: 194px;
  min-width: 194px;
  // height: 100%;
  padding: 26px 38px;
  margin-bottom: 0;
  background: #ffffff;
  border-radius: 4px;
  list-style: none;
  li > a {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 26px;
    font-size: 16px;
    color: #666666;
    &.active {
      font-weight: bold;
      color: $color-primary;
    }
  }
  .iconfont {
    font-size: 14px;
  }
}
</style>
